Uses of Class
eu.europa.ec.taxud.cesop.domain.ValidationError
Packages that use ValidationError
Package
Description
-
Uses of ValidationError in eu.europa.ec.taxud.cesop.utils
Methods in eu.europa.ec.taxud.cesop.utils that return ValidationErrorModifier and TypeMethodDescriptionstatic ValidationErrorValidationErrorUtils.createCustomError(String messageRefId, String description) Custom error (99999).static ValidationErrorValidationErrorUtils.createValidationError(ValidationErrorTypeEnum errorType, String messageRefId) Create aValidationErrorfrom anValidationErrorTypeEnum.static ValidationErrorValidationErrorUtils.createValidationError(ValidationErrorTypeEnum errorType, String messageRefId, String docRefId, String transactionIdentifier) Create aValidationErrorfrom anValidationErrorTypeEnum.Method parameters in eu.europa.ec.taxud.cesop.utils with type arguments of type ValidationErrorModifier and TypeMethodDescriptionstatic voidValidationErrorUtils.checkCmBr0010(List<ValidationError> validationErrors, String messageRefId, Set<String> docRefIds, String docRefId) Checks if the DocRefId is not unique in the message (20010).static voidValidationErrorUtils.checkCmBr0050(List<ValidationError> validationErrors, String messageRefId, DocTypeEnum docTypeEnum, String corrDocRefId, String docRefId) Checks if the CorrDocRefId is not specified for new data (20050).static voidValidationErrorUtils.checkCmBr0060(List<ValidationError> validationErrors, String messageRefId, DocTypeEnum docTypeEnum, String corrDocRefId, String docRefId) Checks if the corrDocRefId is provided in case of correction (20060).static voidValidationErrorUtils.checkCmBr0100(List<ValidationError> validationErrors, String messageRefId, XmlTypeAndValue pspId) Checks Psp BIC conforms ISO-9362.static voidValidationErrorUtils.checkCmBr0110(List<ValidationError> validationErrors, String messageRefId, MessageTypeIndicEnum messageTypeIndic) Given there's no payees in the message, check if it is allowed for the specified type of message.static voidValidationErrorUtils.checkCmBr0120(List<ValidationError> validationErrors, String messageRefId, DocTypeEnum docTypeEnum, String corrDocRefId, Set<String> corrDocRefIds, String xsdVersion, String docRefId) Checks if the corrDocRefId references to single message in case of correction (20120).static voidValidationErrorUtils.checkCmBr0130(List<ValidationError> validationErrors, String messageRefId, String type, String other, String xsdVersion) Checks discrepancy in the provision of an ‘other’ type and its specification, leading to a full rejectionstatic voidValidationErrorUtils.checkCmBr0140(List<ValidationError> validationErrors, String messageRefId, String type, String other, String xsdVersion) Checks discrepancy in the provision of an ‘other’ type and its specification, leading to a partial rejectionstatic voidValidationErrorUtils.checkCmBr0140ForDates(List<ValidationError> validationErrors, String messageRefId, Map<TransactionDateEnum, XmlTransactionDate> dates, String xsdVersion) For transaction dates.static voidValidationErrorUtils.checkCmBr0150(List<ValidationError> validationErrors, String messageRefId, HashMap<Set<XmlTypeAndValue>, String> reportedPayees, List<XmlTypeAndValue> names, List<XmlCountryTypeAndValue> accounts, String docRefId) Checks if the current reported payee is not a duplicate of a previously reported payee.static voidValidationErrorUtils.checkCmTr0020(List<ValidationError> validationErrors, String messageRefId) Failed Decryption (50020).static voidValidationErrorUtils.checkCmTr0030(List<ValidationError> validationErrors, String messageRefId) Failed Decompression (50030).static voidValidationErrorUtils.checkCmTr0040(List<ValidationError> validationErrors, String messageRefId) Failed Signature Check (50040).static voidValidationErrorUtils.checkCmTr0050(List<ValidationError> validationErrors, String messageRefId) Failed Threat Scan (50050).static voidValidationErrorUtils.checkCmTr0060(List<ValidationError> validationErrors, String messageRefId) Failed Virus Scan (50060).static voidValidationErrorUtils.checkCmTr0070(List<ValidationError> validationErrors, String messageRefId, long size, long maxSize) Message size exceeded (50070).static voidValidationErrorUtils.checkMhBr0030(List<ValidationError> validationErrors, String messageRefId, Integer period, Integer minPeriod) Checks if the period is not before 01/01/2024 (10030).static voidValidationErrorUtils.checkMhBr0070AndMhBr0080(List<ValidationError> validationErrors, String messageRefId, MessageTypeIndicEnum messageTypeIndic, DocTypeEnum docType, String docRefId) Checks if an initial Payment data message only contains new data and if a correction message only contains corrections/deletions (10070 and 10080).static voidValidationErrorUtils.checkMhBr0090(List<ValidationError> validationErrors, String messageRefId, MessageTypeEnum messageType, boolean hasPaymentDataBody) A payment data message (MessageType = 'PMT') must contain the 'PaymentDataBody' element.static voidValidationErrorUtils.checkMhBr0100(List<ValidationError> validationErrors, String messageRefId, MessageTypeIndicEnum messageTypeIndic, Integer period, Integer correlatedPeriod) In a correction message, the reporting period must be identical to the reporting period of the correlated message.static voidValidationErrorUtils.checkMhBr0110(List<ValidationError> validationErrors, String messageRefId, String corrMessageRefId, MessageTypeIndicEnum messageTypeIndic) CorrMessageRefId in the 'MessageSpec' element must only be provided in correction messages (when 'MessageTypeIndic' = CESOP101).static voidValidationErrorUtils.checkMhBr0120(List<ValidationError> validationErrors, String messageRefId, String transmittingCountry, String requiredCountry) TransmittingCountry in the 'MessageSpec' element must be the same as required country if that is passed.static voidValidationErrorUtils.checkRpBr0010(List<ValidationError> validationErrors, String messageRefId, String payeeCountry, String payerMsCountry, String transactionIdentifier) Checks if the country code of the 'Country' element within the 'ReportedPayee' element is not the same as the country code of the 'PayerMS' element (40010).static voidValidationErrorUtils.checkRpBr0020(List<ValidationError> validationErrors, String messageRefId, String accountIdentifierType, String iban, String docRefId) Checks the IBAN format (40020).static voidValidationErrorUtils.checkRpBr0030(List<ValidationError> validationErrors, String messageRefId, String accountIdentifierType, String countryCode, String iban, String docRefId) Validates the IBAN (40030) based on the countryCode IBAN length and the MOD97 algorithm.static voidValidationErrorUtils.checkRpBr0040(List<ValidationError> validationErrors, String messageRefId, boolean hasPaymentData, MessageTypeIndicEnum messageTypeIndic) Checks if no Reported payee is listed in no payment data for the requested period handler (40040).static voidValidationErrorUtils.checkRpBr0050(List<ValidationError> validationErrors, String messageRefId, DocTypeEnum docType, boolean emptyTransactions) Checks if the 'ReportedTransaction' element is present, except in case of deletion of the related Reported Payee.static voidValidationErrorUtils.checkRpBr0060(List<ValidationError> validationErrors, XmlCountryTypeAndValue account, String messageRefId) Checks if there is no discrepancy in the 'AccountIdentifier' attributes.static voidValidationErrorUtils.checkRpBr0070(List<ValidationError> validationErrors, String messageRefId, XmlTypeAndValue representativeId, String docRefId) Checks if the representative's BIC conforms ISO-9362.static voidValidationErrorUtils.checkRpBr0080(List<ValidationError> validationErrors, String messageRefId, XmlCountryTypeAndValue accountIdentifier, XmlPsp representative, String docRefId) static voidValidationErrorUtils.checkRpBr0090(List<ValidationError> validationErrors, String messageRefId, DocTypeEnum docType, boolean emptyTransactions, String docRefId, String xsdVersion) static voidValidationErrorUtils.checkRtBr0010(List<ValidationError> validationErrors, String messageRefId, boolean isRefund, XmlTypeAndValue amount, String transactionIdentifier) Checks the amount value.static voidValidationErrorUtils.checkRtBr0030(List<ValidationError> validationErrors, String messageRefId, Integer period, EnumMap<TransactionDateEnum, XmlTransactionDate> dates, String transactionIdentifier) Checks if at least one 'DateTime' element in the 'ReportedTransaction' element refers to a date within the period and year declared in the 'ReportingPeriod' element (45030).static voidValidationErrorUtils.checkRtBr0040(List<ValidationError> validationErrors, String messageRefId, Set<String> transactionIdentifiers, String transactionIdentifier) Checks if the transaction identifier is unique in message handler (45040).static voidValidationErrorUtils.checkRtBr0060(List<ValidationError> validationErrors, String messageRefId, String amount, String transactionIdentifier) Checks if the value of the 'Amount' element is not equal to zero (45060).static voidValidationErrorUtils.checkRtBr0080(List<ValidationError> validationErrors, String messageRefId, boolean isInErrorRtBr0080, String transactionIdentifier) Checks if the same type of transaction date has not been provided more than once (45080). -
Uses of ValidationError in eu.europa.ec.taxud.cesop.validation
Methods in eu.europa.ec.taxud.cesop.validation that return ValidationErrorModifier and TypeMethodDescriptionCesopValidationException.getValidationError()Gets validation error.static ValidationErrorExceptionHandler.handleException(Exception e, String messageRefId) Handle exception validation error.Methods in eu.europa.ec.taxud.cesop.validation that return types with arguments of type ValidationErrorModifier and TypeMethodDescriptionPspValidatingReader.getValidationErrors()Gets validation errors.Constructors in eu.europa.ec.taxud.cesop.validation with parameters of type ValidationErrorModifierConstructorDescriptionCesopValidationException(String message, ValidationError validationError) Instantiates a new Cesop validation exception. -
Uses of ValidationError in eu.europa.ec.taxud.cesop.writers
Method parameters in eu.europa.ec.taxud.cesop.writers with type arguments of type ValidationErrorModifier and TypeMethodDescriptionvoidValidationMessageXmlWriter.createValidationMessage(XmlPaymentDataMsg paymentDataMsg, List<ValidationError> validationErrors)